package com.zky.user.mapper;

import com.zky.basic.dto.AccountDto;
import com.zky.system.domain.Menu;
import com.zky.system.domain.Permission;
import com.zky.user.domain.Logininfo;
import com.zky.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2023-02-07
 */
public interface LogininfoMapper extends BaseMapper<Logininfo> {

    Logininfo findByAccount(AccountDto accountDto);

    List<String> findPermissionByLogininfoId(Long id);

    List<Menu> findMenuByLogininfoId(Long id);
}
